package edu.hitsz.aircraftfactory;

import edu.hitsz.aircraft.AbstractAircraft;
import edu.hitsz.aircraft.AbstractEnemy;
import edu.hitsz.aircraft.BossEnemy;
import edu.hitsz.application.Game;
import edu.hitsz.application.ImageManager;
import edu.hitsz.application.Main;

public class BossFactory implements AircraftFactory {
    @Override
    public AbstractEnemy createAircraft() {
        return new BossEnemy(
                (int) ( Math.random() * (Main.WINDOW_WIDTH - ImageManager.BOSS_ENEMY_IMAGE.getWidth())),
                ImageManager.BOSS_ENEMY_IMAGE.getHeight() / 2,
                3,
                0,
                Game.BossHp,
                5,
                (int)(10 * Game.magnification),
                1
        );
    }
}
